package com.xca.okhttp.service;

import com.xca.okhttp.entity.Translate;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface TranslateService {
    @FormUrlEncoded
    @POST("txt/QQFanyi")
    Call<ResponseBody> getData(@Field("sourceText") String text);
}
